<?php
// Ket noi voi CSDL
$dbc=mysqli_connect('localhost','root','','mycms');
//neu ket noi khong thanh cong thi bao loi ra trinh duyet .
if(!$dbc){
    trigger_error("Could not connect to DB : ".mysqli_connect_error());
            
}
else{
    //
    mysqli_set_charset($dbc,"utf-8");   
}

?>